﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace VisionCloud.Core.Model.Ms
{
    [Table("MsProjectBuilding")]
    public class MsProjectBuilding : BaseEntity
    {
        [Key]
        public Guid Id { get; set; }

        /// <summary>
        /// 项目Id
        /// </summary>
        public Guid ProjectId { get; set; }

        /// <summary>
        /// 项目编号
        /// </summary>
        public string ProjectNo { get; set; }

        /// <summary>
        /// 楼栋号
        /// </summary>
        public string BuildingName { get; set; }


        /// <summary>
        /// 分户名称 A户型、B户型，工单表WholeFloor：false时分户名称必填
        /// </summary>
        public string HouseTypeName { get; set; }

        /// <summary>
        /// 交付标准 0:毛坯、1:精装
        /// </summary>
        public int Standard { get; set; }

        /// <summary>
        /// 是否标准层
        /// </summary>
        public bool StandardLayer { get; set; }

        /// <summary>
        /// 楼高
        /// </summary>
        public int? TotalFloors { get; set; }

        /// <summary>
        /// FMS楼栋编码
        /// </summary>
        public string fmsBuildingCode { get; set; }

        /// <summary>
        /// FMS楼栋名称
        /// </summary>
        public string fmsBuildingName { get; set; }

        /// <summary>
        /// 集团楼栋编码
        /// </summary>
        public string bdcBuildingCode { get; set; }

        /// <summary>
        /// 集团楼栋名称
        /// </summary>
        public string bdcBuildingName { get; set; }
    }
}
